﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QuanLyThuVien.Model
{
    class Sach
    {
        private string Ma_sach;
        private string Ten_sach;
        private string The_loai;
        private string Tinh_trang;
        private int So_luong;
        private string Nha_sanxuat;
        private string Tac_gia;
        private int Nam_SX;
        public Sach(string masach, string tensach, string theloai, string tinhtrang, int soluong, string nhasx, string tacgia, int namsx)
        {
            Ma_sach = masach;
            Ten_sach = tensach;
            The_loai = theloai;
            Tinh_trang = tinhtrang;
            So_luong = soluong;
            Nha_sanxuat = nhasx;
            Tac_gia = tacgia;
            Nam_SX = namsx;
        }

        public string Ma_sach1
        {
            get { return Ma_sach; }
            set { Ma_sach = value; }
        }
        public string Ten_sach1
        {
            get { return Ten_sach; }
            set { Ten_sach = value; }
        }
        public string The_loai1
        {
            get { return The_loai; }
            set { The_loai = value; }
        }
        public string Tinh_trang1
        {
            get { return Tinh_trang; }
            set { Tinh_trang = value; }
        }
        public int So_luong1
        {
            get { return So_luong; }
            set { So_luong = value; }
        }
        public string Nha_sanxuat1
        {
            get { return Nha_sanxuat; }
            set { Nha_sanxuat = value; }
        }
        public string Tac_gia1
        {
            get { return Tac_gia; }
            set { Tac_gia = value; }
        }
        public int Nam_SX1
        {
            get { return Nam_SX; }
            set { Nam_SX = value; }
        }
    }
}
